feat: interactive isotope chart (Segré Chart) visualization #94
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Implements an interactive N-Z (Neutron-Proton) diagram, also known as a Segré Chart, for visualizing nuclear stability patterns across 321 nuclides from the database. This educational tool helps users understand nuclear stability, magic numbers, and decay patterns in the context of LENR research.
Type of Change
Related Issues
Motivation and Context
The Segré Chart (N-Z diagram) is a fundamental tool in nuclear physics for understanding nuclear stability. It provides visual context for:
This visualization helps LENR Academy users explore nuclear transmutation pathways in the context of established nuclear physics theory, making it easier to identify patterns and understand why certain reactions are favorable.
Changes Made
New Components:
src/components/IsotopeChart.tsx- SVG-based interactive scatter plot (390 lines)src/pages/IsotopeChart.tsx- Page wrapper with controls (201 lines)New Services:
src/services/isotopeChartService.ts- Data fetching and processing (215 lines)Routing:
/isotope-chartroute insrc/App.tsxsrc/components/Layout.tsxTypes:
IsotopeDatainterfaceMagicNumbertypeStabilityStatustypeTesting:
e2e/tests/isotope-chart.spec.ts- E2E tests for interactions (185 lines)e2e/tests/navigation.spec.tsTesting
Test Environment
Test Cases
Test Results
Database Impact
Query Details:
This is a simple read-only query on an existing table.
Performance Impact
Performance notes:
The query retrieves ~321 nuclides (very small dataset). SVG rendering is efficient for this number of elements. Pan/zoom uses CSS transforms (GPU-accelerated). No performance concerns.
UI/UX Changes
Screenshots
Desktop View:

Mobile View:
(Needs testing and screenshots)
Responsive Design
Documentation
Code Quality
anyunless necessary)npm run lintpasses without errors (needs verification)npm run buildcompletes successfully (needs verification)Deployment Checklist
npm run build && npm run preview)Breaking Changes
Does this PR introduce breaking changes? No
Rollback Plan
This is a purely additive feature. A simple git revert removes the new route and navigation link without affecting existing functionality.
Additional Notes
Educational Value:
Future Enhancements: